<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Object Association Retrieval</title>
    <link rel="stylesheet" href="styles.css">
    <script src="send.js"></script>
</head>
<body>
    <div class="button-container">
        <label for="dbName">数据库名称:</label>
        <input type="text" id="dbName" name="dbName">
        <label for="dbPath">数据库本地路径:</label>
        <input type="text" id="dbPath" name="dbPath">
        <button onclick="createNew()">新建</button>
        <button onclick="edit()">修改</button>
        <button onclick="deleteItem()">删除</button>
        <button onclick="search()">检索</button>
    </div>

    <script>
        function createNew() {
            sendMessageToParent('objass_new')
        }

        function edit() {
            window.location.href = 'objass_edit.html';
        }

        function deleteItem() {
            window.location.href = 'objass_delete.html';
        }

        function search() {
            window.location.href = 'objass_search.html';
        }
    </script>
</body>
</html>